package com.qiangesoft.pay.service;

import javax.servlet.http.HttpServletRequest;
import java.math.BigDecimal;

/**
 * 支付服务类
 *
 * @author qiangesoft
 * @date 2024-02-23
 */
public interface PayService {

    /**
     * 支付
     *
     * @param orderNo
     * @param subject
     * @param amount
     * @return
     */
    String pay(String orderNo, String subject, BigDecimal amount);

    /**
     * 支付结果回调
     *
     * @param request
     * @return
     */
    String notify(HttpServletRequest request);
}
